package com.ubi.core.framework.exception;

public class MobileAPIUserAuthorizationException extends RuntimeException {

    private int errorCode;

    public MobileAPIUserAuthorizationException() {
    }

    public MobileAPIUserAuthorizationException(String message) {
        super(message);
    }

    public MobileAPIUserAuthorizationException(String message, Throwable cause) {
        super(message, cause);
    }

    public MobileAPIUserAuthorizationException(int errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

}
